﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AppFormat;
using BFOAuction.DAL.Product;
using System.Data;

namespace BFOAuction.BLL.Product
{
    public class BLL_ProductType
    {
        public AppFormat.MyError LoadInfo(ref DTO.Product.ProductType objProductType, string strs_ID)
        {
            return new DAL_ProductType().LoadInfo(ref objProductType, strs_ID);
        }

        public AppFormat.MyError Insert(DTO.Product.ProductType objProductType)
        {
            return new DAL_ProductType().Insert(objProductType);
        }

        public AppFormat.MyError Update(DTO.Product.ProductType objProductType)
        {
            return new DAL_ProductType().Update(objProductType);
        }

        public AppFormat.MyError Delete(string strs_ID)
        {
            return new DAL_ProductType().Delete(strs_ID);
        }

        public AppFormat.MyError Select(ref DataTable dtResul, string strs_ID)
        {
            return new DAL_ProductType().Select(ref dtResul, strs_ID);
        }

        public AppFormat.MyError Search(ref DataTable dtResul)
        {
            return new DAL_ProductType().Search(ref dtResul);
        }
    }
}
